<?php
 
 
class PhpFox_Mod_Account_ComponentCustomText extends BaseComponent
{
	function process()
	{
		$oUser = $this->getParam('oUser');
		$sType = $this->getParam('sType');
		$oCustomFieldService = &$this->_oModule->getService('CustomField');
		
		$this->oTpl->assignSrc(array
		(
			'aTexts' => $oCustomFieldService->getTextFields($oUser->aData['id'], $sType),
		));
		
		return $this->oTpl->fetch("CustomText.html");
	}

}

?>